﻿using System;
using System.ComponentModel.DataAnnotations;

namespace NOSDC.Pocos
{
    public sealed class Document
    {
        public int DocumentID { get; set; }
        [Required]
        [StringLength(100)]
        public string Title { get; set; }

        [Required]
        [StringLength(1000)]
        public string Description { get; set; }

        public string Filepath { get; set;}
        public string DocumentType { get; set; }
        public DateTime UploadDate { get; set; }
        public Guid UploadedBy { get; set; }
        public int TimesDownloaded { get; set; }
        public string FileName { get; set; }
        public long FileSize { get; set; }
    }
}
